package mshop.com.schild_kotlin.mvp.model

import android.content.Context
import io.reactivex.Observable
import mshop.com.schild_kotlin.entitys.FindBean
import mshop.com.schild_kotlin.mvp.base.BaseModel

/**
 * Created by mayi on 2018/5/27.
 * @Autor CaiWF
 * @Email 401885064@qq.com
 * @TODO
 */
class FindModel : BaseModel() {

    fun loadData(mContext: Context): Observable<MutableList<FindBean>> {
        mContext.let {
            return getApiService(mContext).getFindData()
        }
    }
}